package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.model.dao.app.UserContentRecordDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.List;

@Component
public interface UserContentRecordDTOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserContentRecordDTO record);

    int insertSelective(UserContentRecordDTO record);

    UserContentRecordDTO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserContentRecordDTO record);

    int updateByPrimaryKey(UserContentRecordDTO record);

    List<HashMap<String, Long>> getReviewUserInfoCount(@Param("startTime") String startTime,
                                                          @Param("endTime") String endTime);
}